<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>3. ES6 is the best schema</title>
</head>

<body>
  <p>请打开控制台查看输出。</p>
  <script>
    let a = 'ES6 is the best schema'

    let result = a.split(' ').reverse().map(i => i.split('').reverse().join('')).join(' ')
    
    console.log(result)
  </script>
</body>

</html>